package com.qf.game.websocket.entity;

import com.qf.game.entity.Player;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.websocket.Session;
import java.io.Serializable;

/**
 * 玩家信息类
 *
 * description:
 * author: Ken
 * 公众号：Java架构栈
 */
@Data
@Accessors(chain = true)
public class PlayerInfo implements Serializable {

    //当前玩家对应的websocket连接对象
    private Session session;
    //当前玩家的基本属性信息
    private Player player;
}
